package com.cqut.dto;

import com.cqut.util.BeanUtil;
import com.cqut.model.ComParam;
import java.io.Serializable;


public class ComParamDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String comParamId;
        
        private String comParamNo;
        
        private String comParamType;
        
        private String comParamName;
        
        private Integer comParamLevel;
        
        private String parentComParamNo;
       
        private String userId;
        
        public String getComParamId(){
        	return this.comParamId;
        }
        
        public void setComParamId(String comParamId){
        	this.comParamId = comParamId;
        }
        
        public String getComParamNo() {
            return this.comParamNo;
        }
        
        public void setComParamNo(String comParamNo) {
            this.comParamNo = comParamNo;
        }
        
        public String getComParamType() {
            return this.comParamType;
        }
        
        public void setComParamType(String comParamType) {
            this.comParamType = comParamType;
        }
        
        public String getComParamName() {
            return this.comParamName;
        }
        
        public void setComParamName(String comParamName) {
            this.comParamName = comParamName;
        }
        
        public Integer getComParamLevel() {
            return this.comParamLevel;
        }
        
        public void setComParamLevel(Integer comParamLevel) {
            this.comParamLevel = comParamLevel;
        }
        
        public String getParentComParamNo() {
            return this.parentComParamNo;
        }
        
        public void setParentComParamNo(String parentComParamNo) {
            this.parentComParamNo = parentComParamNo;
        }
        
        public String getUserId() {
            return this.userId;
        }
        
        public void setUserId(String userId) {
            this.userId = userId;
        }
        
        public ComParam toModel() {
            ComParam model = new ComParam();
			BeanUtil.convert(this, model);
			return model;
        }
    
}